GtkMenuTrackerItem: add support for dynamic accels
authorRyan Lortie <desrt@desrt.ca>
Wed, 10 Jul 2013 02:50:14 +0000 (22:50 -0400)
committerRyan Lortie <desrt@desrt.ca>
Tue, 15 Oct 2013 13:24:12 +0000 (09:24 -0400)
commitafa8b0178fa57b49eb13aa4c4e3b460bcedcd9c9
treed1a1a8fa3ef41926f4176447afe25549840c5dfc
parent2074daccf5ac06342e66620ef0fef5e76bd03275
GtkMenuTrackerItem: add support for dynamic accels

Add support for pulling the primary accel out of the GtkActionMuxer.

With this change, it is no longer necessary to have the accel=''
attribute hardcoded onto each menu item (and, in fact, it should be left
off if you intend to have support for dynamic accelerator changing).

Specifying accel='' is a good way to force an accelerator not to be
displayed on a menu item.
gtk/gtkmenutrackeritem.c